package com.edu.app.service.impl.core;

import com.edu.app.bean.core.SysRole;
import com.edu.app.bean.virtualbean.NameValueItems;

import com.edu.app.mapper.core.SysRoleMapper;
import com.edu.app.mapper.core.popup.RolesPopMapper;
import com.edu.app.service.impl.SysBaseServiceImpl;
import com.edu.app.service.sys.core.SysRoleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SysRoleServiceImpl extends SysBaseServiceImpl<SysRole,SysRoleMapper> implements SysRoleService {

    @Autowired
    private SysRoleMapper sysRoleMapper;

    @Autowired
    private RolesPopMapper rolesPopMapper;



    @Override
    public List<NameValueItems> getRolesPop(){
        List<NameValueItems> usersPop = rolesPopMapper.getRolesPop();
        return usersPop;
    }
}
